#!/bin/bash
#
# PHPDoc generator script

CWD=`dirname $0 | xargs readlink -e`
PHPDOC=/usr/bin/phpdoc
FILES=$CWD/../disperse.php
SRC=$CWD/cache,$CWD/client,$CWD/datasource,$CWD/session
DST=$CWD/doc
OUTPUT="HTML:frames:default"
IGNORE=

$PHPDOC --filename $FILES --directory $SRC --ignore $IGNORE --output $OUTPUT --target $DST

exit $?
